from openai import OpenAI
import llm_key

client = OpenAI(
    api_key=llm_key.MOONSHOT_DEMO_API_KEY,
    base_url="https://api.moonshot.cn/v1",
)

file_list = client.files.list()

for file in file_list.data:
    client.files.delete(file_id=file.id)
